Skip to content

Commit 44866e6

Browse files
committed
fixup! fixup! WIP: Add Gradle bindings for JSON formatter
1 parent 68e636a commit 44866e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugin-gradle/src/test/java/com/diffplug/gradle/spotless/JsonExtensionTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ public void formattingWithCustomNumberOfSpaces() throws IOException {
5050
"}",
5151
"spotless {",
5252
" json {" +
53-
" indentWithSpaces(6)" +
5453
" target '**/*.json'" +
55-
"}",
54+
" indentWithSpaces(6)" +
55+
"}",
5656
"}");
5757
setFile("src/main/resources/example.json").toResource("json/singletonArrayBefore.json");
5858
gradleRunner().withArguments("spotlessApply").build();
@@ -69,9 +69,9 @@ public void formattingWithTabs() throws IOException {
6969
"}",
7070
"spotless {",
7171
" json {" +
72-
" indentWithTabs()" +
7372
" target '**/*.json'" +
74-
"}",
73+
" indentWithTabs()" +
74+
"}",
7575
"}");
7676
setFile("src/main/resources/example.json").toResource("json/singletonArrayBefore.json");
7777
gradleRunner().withArguments("spotlessApply").build();

0 commit comments

Comments
 (0)